//
//  ZYSubAccountViewCell.h
//  YiLin
//
//  Created by Zyark on 2018/6/1.
//  Copyright © 2018年 Zyark. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ZYUser;
@class ZYSubAccountViewCell;
@protocol ZYSubAccountViewCellDelegate <NSObject>

/**
 修改子账户
 @param subAccountViewCell cell
 @param account 子账户信息
 */
-(void)subAccountViewCell:(ZYSubAccountViewCell *)subAccountViewCell doEdit:(ZYUser *)account;


/**
 删除子账户
 @param subAccountViewCell cell
 @param account 子账户信息
 */
-(void)subAccountViewCell:(ZYSubAccountViewCell *)subAccountViewCell doDelete:(ZYUser *)account;
@end
@interface ZYSubAccountViewCell : UITableViewCell
@property(nonatomic,strong) ZYUser *account;
@property(nonatomic,weak) id<ZYSubAccountViewCellDelegate> delegate;
@end
